﻿<%@ Page Title="" Language="C#" MasterPageFile="~/expert/mpexpert.master" AutoEventWireup="true"
    CodeBehind="info.aspx.cs" Inherits="ZF.WS.expert.info" %>

<%@ Register src="/UserControls/AirHtml.ascx" tagname="AirHtml" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server" >
<div runat="server" id="divContext"> 
    <div style="margin: 5px 0px;">
        <dl>
            <dt style="font-weight: bold; line-height: 30px; height: 30px; border-bottom: 1px solid #f00">
                <%=this.Expert.Account %>简介</dt>
            <dd style="text-align: left; padding-top: 5px;">
            
       <%--    <iframe src="about.aspx?id=<%=this.Expert.MemberId %>" id="fx" style="width:  100%;
                                    height: 200px" frameborder="no" border="0" marginwidth="0"   marginheight="0"
                                    allowtransparency="yes"></iframe>--%>
            
            
               <uc1:AirHtml ID="AirHtml1" runat="server"   AutoHeight="true"     Style="width:  100%; height: 200px"  Config=" frameborder='no' border='0' marginwidth='0'   marginheight='0' allowtransparency='yes'"  />
               
               
               
               
            </dd>
        </dl>
    </div>
     
    
 <div class="fc_"></div>
    
    <div id="etjlp" class="board tjlp   mt10_  " runat="server"   key="3" >
        <dl>
            <dt  id="etjlp"><a href="javascript:" class="active slide" bind="slh1">出租房源</a> <a href="javascript:"
                class=" slide" bind="slh2">出售房源</a> <a href="houseList.aspx?id=<%=this.Id %>" class="more">
                    更多>></a> </dt>
            <dd class="gdimg slh1 slide active">
                <zf:ListView runat="server" ID="lvJPLP">
                    <LayoutTemplate>
                        <ul>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </ul>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <li><a href="HouseInfo.aspx?hid=<%#Eval("House.HouseId") %>&id=<%=this.Id %>">
                            <img src="/photo/house/<%#Eval("House.FirstPhoto") %>" /></a> <a href="HouseInfo.aspx?hid=<%#Eval("House.HouseId") %>&id=<%=this.Id %>">
                                <%# (((string)Eval("City")) + ((string)Eval("Area")) + (string)Eval("House.HouseType")).MaxLength(9)%>
                                <br />
                                <%#Eval("Model")%>
                                <%#Eval("Price")%>元/月 </a></li>
                    </ItemTemplate>
                </zf:ListView>
            </dd>
            <dd class=" gdimg1 slh2 slide dn_    ">
                <zf:ListView runat="server" ID="lvJPLP1">
                    <LayoutTemplate>
                        <ul>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </ul>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <li><a href="HouseInfo.aspx?hid=<%#Eval("House.HouseId") %>&id=<%=this.Id %>">
                            <img src="/photo/house/<%#Eval("House.FirstPhoto") %>" /></a> <a href="HouseInfo.aspx?hid=<%#Eval("House.HouseId") %>&id=<%=this.Id %>">
                                <%# (((string)Eval("City")) + ((string)Eval("Area")) + (string)Eval("House.HouseType")).MaxLength(9)%>
                                <br />
                                <%#Eval("Model")%>
                                <%#Eval("Price")%>万/套 </a></li>
                    </ItemTemplate>
                </zf:ListView>
            </dd>
        </dl>
    </div>
    <div class="fc_"></div>
    <style>
        .article { width: 100%; background: #eee; }
        .article td, .article th { background: #fff; line-height: 40px; text-align: left; padding-left: 5px; }
        .article td.t1 { width: 400px; text-align: left; }
        .article td.t2 { width: 50px; }
        .article td.t3 { width: 120px; }
        .article td.t1 p { text-align: left; }
        .article td.t1 p * { display: inline-table; }
        .article td.t1 span { font-weight: bold; }
    </style>
  
  
  
  
  
  
  
 
                  
  
  
  
  
    <div id="art" class="board article mt10_  ">
        <dl>
            <dt>
                <zf:ListView runat="server" ID="lvArtList">
                    <LayoutTemplate>
                        <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                        </zf:PlaceHolder>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <a href="javascript:" class="<%# Container.DataItemIndex==0?"active":"dn_" %> slide"
                            bind="art<%# (int)Eval("Key") %>">
                            <%# Eval("Key") %></a>
                    </ItemTemplate>
                </zf:ListView>
                
                
                <a href="artList.aspx?id=<%=this.Id %>" class="more">
                    更多>></a>
            </dt>
            <zf:ListView runat="server" ID="lvArtList1">
                <LayoutTemplate>
                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                    </zf:PlaceHolder>
                </LayoutTemplate>
                <ItemTemplate>
                    <dd class="slide art<%# (int)Eval("Key") %> <%# Container.DataItemIndex==0?"active":"dn_" %>">
                        <table class="w100_" cellpadding="1" cellspacing="1">
                            <zf:ListView runat="server" DataSource='<%# Eval("Value") %>'>
                                <LayoutTemplate>
                                    <tr>
                                        <th class="t1">
                                            标题/简要
                                        </th>
                                        <th class="t2">
                                            点击率
                                        </th>
                                        <th class="t3">
                                            日期
                                        </th>
                                    </tr>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </LayoutTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="t1">
                                            <p class="title">
                                                <span>标题：</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="article.aspx?id=<%#Eval("MemberId")%>&aid=<%#Eval("ArticleId")%>"><%#((string)Eval("Title")).MaxLength(20)%></a></p>
                                        </td>
                                        <td class="t2">
                                            <%# Random.Next(1000)%>
                                        </td>
                                        <td class="t3">
                                            <%#Eval("AddTime")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </zf:ListView>
                        </table>
                    </dd>
                </ItemTemplate>
            </zf:ListView>
        </dl>
    </div>
    

    <div class="fc_"></div>
    <div class="board  mt10_" id="eMsg">
        <dl>
            <dt><span>我要留言</span></dt><dd>
                <iframe src="/expert/msg.aspx?id=<%=this.Id%>" id="ifComment" frameborder="no" border="0"
                    marginwidth="0" scrolling="no" marginheight="0" allowtransparency="yes" style="border: 0px;
                    width: 100%;"></iframe>
            </dd>
        </dl>
    </div>

    <script>
        function _commentHeightSet(height) {
            $("#ifComment").height(height);
        }
    </script>
</div>
</asp:Content>
